package top.xchch.tool.mockito.juejin;

import org.junit.Test;

import java.util.List;

import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.withSettings;

/**
 * Serializable mocks
 * WARNING: This should be rarely used in unit testing.
 *
 * @author sai.zhang
 * @date 2021-08-31 15:44
 */
public class SerializableMockTest17 {

    @Test
    public void testSerializableMocks() throws Exception {
        List serializableMock = mock(List.class, withSettings().serializable());
    }

}
